<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script>
    // window的子对象 (BOM相关)

    // window
    // document(文档)   history(历史)  location(地址栏)   navigator(设备相关)  screen(屏幕)
    // => window.xxx  => window可以省略

    console.log(window);



</script>

</html>